Platform Explorer / Nuxeo Platform 2023.19

Operation Quotas.SetMaxSize (Set max Quota size for the target DocumentModel)

Description

Set the maximum size of the target DocumentModel, use -1 to make Quota checks innative
Operation id Quotas.SetMaxSize
Category Quotas
Label Set max Quota size for the target DocumentModel
Requires
Since

Parameters

Name Description Type Required Default value
targetSize long yes  
documentRef document no  

Signature

Inputs void, document
Outputs long, long

Implementation Information

Implementation Class Class: org.nuxeo.ecm.quota.automation.SetQuotaInfoOperation
Contributing Component rg.nuxeo.ecm.quota.automation.contrib

JSON Definition

{
  "id" : "Quotas.SetMaxSize",
  "label" : "Set max Quota size for the target DocumentModel",
  "category" : "Quotas",
  "requires" : null,
  "description" : "Set the maximum size of the target DocumentModel, use -1 to make Quota checks innative",
  "url" : "Quotas.SetMaxSize",
  "signature" : [ "void", "long", "document", "long" ],
  "params" : [ {
    "name" : "targetSize",
    "description" : null,
    "type" : "long",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "documentRef",
    "description" : null,
    "type" : "document",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}